* {
    box-sizing: border-box;
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    overflow: auto;
    color: #7f7f80;
    background-color: #f1f1f1;
    font-family: "黑体", Arial, helvetica;
    font-size: 12px;
}

ul, ol {
    list-style: none;
}

a{
    text-decoration:none;
}

.button:hover{
    cursor:pointer;
}
/*圆角元素*/
.round{
    border-radius:4px;
}
/*中心对齐*/
.centre{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
/*向下的三角*/
.down_io{
    display:inline-block;
    height:7px;
    width:7px;
    border:7px solid;
    border-left-color:transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    vertical-align: -50%;
}
/*使容器居中*/
.container{
    width: 1000px;
    margin: 0 auto;
}
/*只上下居中*/
.container_top{
    position:absolute;
    bottom:50%;
    transform: translate(0,-50%);
}
/*只左右居中*/
.container_left{
    position:absolute;
    left:50%;
    transform: translate(-50%,0);
}
/*TODO:使得滑动时候header能遮住下面的图片*/
header>.container{
    height:100px;
}
header .box{
    position: fixed;
    top:0;
    width:1000px;
    padding:30px 0;
    background-color:#f1f1f1;
    /*定义层数*/
    z-index :99;
}
header .box>img{
    float:left;
    height:34px;
}
header .box>.search{
    float:left;
    position:relative;
}
header .box>.search>input {
    height: 34px;
    width: 300px;
    background-color: #f3f3f4;
    border-left: 1px solid #0AA1ED;
    border-top: 1px solid #0AA1ED;
    border-bottom: 1px solid #0AA1ED;
    padding-left: 10px;
    padding-right: 90px;
}
header .box>.search>img {
    vertical-align:bottom;
}
header .box>.search>.Tips{
    position: absolute;
    top:35%;
    right:13%;
}
header .box>.S_L{
    float:right;
}
header .box>.S_L>img{
    margin: 0 10px 0 10px;
    vertical-align:-30%;
}

nav ul>li{
    display:inline-block;
    margin:20px;
    color: #bbb;
}
nav ul>li:first-child{
    margin-left:0;
}

main{
    /*border-top: 1px solid #1b1b1c;*/
    margin-bottom: 5%;
}
.carousel{
    border:1px solid #f3f3f4;
    height:400px;
    width:1000px;
    position:relative;
    overflow: hidden;
    user-select:none;
    /*background-image:url(/img/ia_100000006.png);*/
}
.carousel:hover>.turn{
    border:1px solid grey;
    background-color: rgba(120, 120, 124,0.5);
}
.carousel>.turn{
    display:inline-block;
    position:absolute;
    height:55px;
    width:25px;
    /*border:1px solid grey;*/
    background-color: rgba(120, 120, 124, 0.3);
    overflow: hidden;
    z-index: 10;
}
.carousel>.left{
    top:50%;
    transform: translate(0%,-50%);
}
.carousel>.right{
    top:50%;
    right:0;
    transform:translate(0,-50%);
}
.carousel>.turn>img{
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.carousel>.images{
    width:5000px;
    height:400px;
    position:relative;
}
.carousel>.images>ul>li{
    float:left;
}
.carousel div.goto{
    position:absolute;
    left:50%;
    bottom:3%;
    transform: translate(-50%);
    z-index: 10;
}
.carousel .goto>span{
    display:inline-block;
    width:7px;
    height:7px;
    border: 7px solid #505052;
    border-radius: 7px;
}
.carousel .goto>span:first-child{
    border-color: rgb(52,211,251);
}

main .floor_head{
    border-bottom:1px solid #727272;
    margin:2% 0 1% 0;
    font-weight: 900;
    font-size: 1.5em;
    color: #656566;
}
main .floor_head>img{
    vertical-align: middle;
    margin-right:1.5%;
    margin-bottom:3px;
    height:15px;
    width:20px;
}

main .floor_box{
    height:632px;
}
main .photos{
    position: relative;
     /*border:1px solid #0AA1ED;*/
    float: left;
    background-color: rgba(204, 204, 204, 0.5);

 }
main .photos .title{
    color:black;
    font-size:3em;
}
main .photos .describe{
    font-size:1.5em;
    margin-bottom:5%;
}
main .photos .price{
    color: #0AA1ED;
    font-size:2em;
}
main .photos span.button{
    display:block;
    width:120px;
    height:40px;
    font-size:1.3em;
    text-align: center;
    line-height:40px;
    color:whitesmoke;
    border:1px solid #0AA1ED;
    background:linear-gradient(to bottom, #0da5f1 80%, #0e8ad7);
}
main .photos>img{
    transition:all 2s ease 0s;
}
main .photos>img:hover{
    transform:scale(1.1);
}
main .photos:nth-child(1){
    height:55%;
    width:65%;
    margin:0 1% 1% 0;
}
main .photos:nth-child(1)>img{
    position:absolute;
    right:5%;
    bottom: 5%;
}
main .photos:nth-child(1)>.show{
    width:40%;
}
main .photos:nth-child(2){
    height:55%;
    width:34%;
}
main .photos:nth-child(2)>img{
    position:absolute;
    right:5%;
    bottom: 5%;
    height:60%;
}
main .photos:nth-child(3){
    height:35%;
    width:37%;
    margin:0 1% 0 0;
}
main .photos:nth-child(3)>img{
    position:absolute;
    right:1%;
    bottom: 20%;
}
main .photos:nth-child(3)>.show{
    width:50%;
}
main .photos:nth-child(-n+3)>.show{
    margin:10%;
}
main .photos:nth-child(3) .title{
    font-size:2em;
}

main .photos:nth-child(n+4){
    height:35%;
    width:20%;
    margin:0 1% 0 0;
}
main .photos:nth-child(6){
    margin:0;
}

main .photos:nth-child(n+4)>img{
    position:absolute;
    top:2%;
}
main .photos:nth-child(n+4)>.show{
    position:absolute;
    bottom:5%;
    left:50%;
    transform: translate(-50%);
    text-align:center;
}
main .photos:nth-child(n+4) .title{
    /*设置文本不换行*/
    white-space:nowrap;
    font-size:1.2em;
    text-align: center;
}
main .photos:nth-child(n+4) .button{
    margin:0 auto;
}

figure .col {
    float: left;
    width: 25%;
    color: #616164;
    text-align: center;
}
figure .col img {
    display: block;
    margin: auto;
}

footer{
    background-color: whitesmoke;
    height:10%;
    padding:3% 0;
    position:relative;
}
footer div[class^="part"]{
    float:left;
    width:33.33%;
}
footer .part_two>div{
    float:left;
    width:33.33%;
    padding:0 9%;
    text-align: center;
}
footer .part_two span{
    display:inline;
    line-height:20px;
}
footer .part_two span:first-child{
    color: #252525;
}

footer .part_three{
    padding:0 5%;
}
footer .part_three>*{
    display:inline-block;
    float:left;
}
footer .part_three>div{
    width:124px;
    text-align: center;
}
footer .part_three span{
    display:inline;
    line-height:20px;
    font-size:1.2em;
    color: #343434;
    width:124px;
}
footer .part_three>img{
    position:relative;
    top:-3px;
}
footer>div>span{
    bottom: 4%;
    color:black;
    font-size:1.1em;
}

.clear:before{
    content:"";
    display: block;
}
.clear:after{
    content:"";
    display: block;
    clear: both;
    height:0;
    overflow:hidden
}
